#include<bits/stdc++.h>
#include<vector>

int main(){
    cin >> n;
    vector<int> v;
    int tmp;
    for(int i=0;i<n;i++) cin>>tmp,v.push_back(tmp);
    sort(v.begin(),v.end());
    return 0;
}